<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <!-- intoHead Start -->
        {include file="common/intohead" /}
        <!-- /intoHead End -->
    </head>
	<body class="mainbody">
		<!--导航栏-->
		{include file="common/position" /}
		<!--/导航栏-->
		<div class="line10"></div>
		<div class="builder listbuilder-box">
			<!-- Tab导航 -->

			<!-- 顶部工具栏按钮 -->
			<div class="builder-toolbar">
            <!--工具栏-->
            <div id="floatHead" class="toolbar-wrap">
                <div class="toolbar">
                    <div class="box-wrap">
                        <a class="menu-btn"></a>
                        <div class="l-list">
                            <ul class="icon-list">
                                <!-- 工具栏按钮 -->
                                {notempty name="head_button_list"}
                                    {volist name="head_button_list" id="button"}
                                        <li><a {$button.attribute}><i></i><span>{$button.title}</span></a></li>&nbsp;
                                    {/volist}
                                {/notempty}
                            </ul>
                        </div>

                        {notempty name="selects"}
		                    <form id="selectForm" method="get" action="{$selectPostUrl||default=$default_url}" class="form-dont-clear-url-param form-inline ml-20">
		                        {volist name="selects" id="select"}
		                        <div class="form-group">
		                            {notempty name="select.title"}
		                                <label for="{$select['name']}"  class=" pr-0">{$select.title}:</label>
		                            {/notempty}

		                            <select name="{$select['name']}" data-role="select_text" class="form-control pl-20">
		                                {volist name="select['arrvalue']" id="svo"}
		                                    <option value="{$svo.id}">{$svo.value}</option>
		                                {/volist}
		                            </select>
		                            </div>
		                        {/volist}
		                    </form>
		                {/notempty}

                        {notempty name="search"}
                        <div class="r-list">
	                        <form action="" method="post">
								<input name="keyword" type="text" placeholder="{$search.title}" id="txtKeywords" class="keyword">
								<button id="lbtnSearch" class="btn-search" type="submit">查询</button>
							</form>

                        </div>
                        {/notempty}
                    </div>
                </div>
            </div>
            <!--/工具栏-->

			</div>

			<!-- 数据列表 -->
			<div class="builder-container">
				<!--列表-->
				<div class="table-container">
					{notempty name="table_data_list"}
						<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
							<tbody>
								<tr class="odd_bg">
									<th width="30">选择</th>
									{volist name="table_column_list" id="column"}
									<th {$column.extra_attr}>{$column.title}</th>
									{/volist}
								</tr>

								{volist name="table_data_list" id="data"}
									<tr>
										<td align="center"><span class="check-option r1 checkall"><input class="ids" type="checkbox" value="{$data[$table_data_list_key]}" name="ids[]"></span></td>
										{volist name="table_column_list" id="column"}
										<td align="center">{php}if($data[$column['name']]=='1970-01-01 08:00:00'){echo '无操作';}else{{/php}{$data[$column['name']]}{php}}{/php}</td>
										{/volist}
									</tr>
								{/volist}

							</tbody>
						</table>
					{else /}
						<!--空数据提示-->
						{include file="common/empty" /}
						<!--/空数据提示-->
					{/notempty}
					<!-- 列表底部按钮 -->
					{notempty name="foot_button_list"}
						<volist name="foot_button_list" id="button">
							<a {$button.attribute}>{$button.title}</a>&nbsp;
						</volist>
					{/notempty}
					{notempty name="table_data_page"}
						<div class="line20"></div>
						<!--数据分页-->
						<div class="page-bootstrap">{$table_data_page|raw}</div>
					{/notempty}

				</div>
				<!--/列表-->

			</div>

			<!-- 额外功能代码 -->
			{$extra_html}
		</div>
	</body>

</html>